MailPoet\Services\Bridge A

Total Complexity 53
Dependencies 7
Dependents 29
Total lines 309
Lines of code 204
Logical lines of code 85
Comment lines 39
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
onSettingsSave()
A
55 9 18
processKeyCheckResult()
S
53 5 24
getAuthorizedSenderDomains()
S
57 4 17
storePremiumKeyAndState()
S
60 3 16
storeMSSKeyAndState()
S
60 3 16
getAuthorizedEmailAddresses()
S
65 4 9
buildKeyState()
S
66 3 8
isMPSendingServiceEnabled()
S
64 3 9
__construct()
S
65 3 10
isMailpoetSendingServiceEnabled()
S
64 3 9
initApi()
S
67 2 8
createAuthorizedEmailAddress()
S
74 1 5
getApi()
S
80 1 3
verifyAuthorizedSenderDomain()
S
74 1 5
checkMSSKey()
S
72 1 6
pingBridge()
S
65 1 9
checkPremiumKey()
S
72 1 6
isPremiumKeySpecified()
S
72 1 5
isMSSKeySpecified()
S
72 1 5
updateSubscriberCount()
S
79 1 3
invalidateKey()
S
69 1 7
createAuthorizedSenderDomain()
S
70 1 6